home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 422_01 / emsetup.doc < prev    next >
Encoding:
Text File  |  1994-03-21  |  5.7 KB  |  132 lines

  1. ================================================================
  2. EEEEEEE   MM   MM    SSSSS   EEEEEEE  TTTTTTT  U     U   PPPPPP
  3. E         M M M M   S     S  E           T     U     U   P     P
  4. E         M  M  M   S        E           T     U     U   P     P
  5. EEEE      M     M    SSSSS   EEEEE       T     U     U   PPPPPP
  6. E         M     M         S  E           T     U     U   P
  7. E         M     M   S     S  E           T     U     U   P
  8. EEEEEEE   M     M    SSSSS   EEEEEEE     T      UUUUU    P
  9. ================================================================
  10.  
  11. A program for configuring EMILY and MONICA :
  12.  
  13. EMSETUP is a program which configures the EMILY and/or MONICA programs
  14. to set the initial values of several features which are loaded when
  15. the program is run.
  16.  
  17. The EMSETUP command accepts the name of the file to configure as a
  18. command line argument. If no extension is given, EMSETUP assumed
  19. ".COM". For example, to edit the settings contained in EMILY52.COM,
  20. you could use the command:
  21.  
  22.     EMSETUP EMILY52.COM
  23.         or
  24.     EMSETUP EMILY52
  25.  
  26. If additional filenames are given, EMSETUP will write the new settings to
  27. those files (as well as the original one). This behaviour can be used to
  28. copy settings from one file to another:
  29.  
  30.     EMSETUP emily52 monica52
  31.  
  32. The above command reads the default settings from EMILY52.COM, allows you
  33. to edit them, and writes the new settings to EMILY52.COM and MONICA52.COM.
  34. If you do not make any changes before exiting and saving the settings, the
  35. effect is to copy the settings from EMILY52.COM to MONICA52.COM.
  36.  
  37. Once you have started EMSETUP, you will be presented with a menu of
  38. configuration options which can be configured:
  39.  
  40.     Screen colors
  41.     Special function registers
  42.     Serial I/O defaults
  43.     Target interface speed
  44.     COMM port assigments
  45.     RESET logic level
  46.     Default load filename
  47.     Exit EMSETUP
  48.  
  49. Screen colors:
  50.  
  51.     This options permit you to change the colors used in the various
  52.     windows presented by EMILY and MONICA. NOTE: Only the color screens
  53.     can be altered. When the '/Monochrome' switch is used, EMILY and
  54.     MONICA always use a black and white presentation.
  55.  
  56.     Once you select this option, you will be presented with a sample
  57.     window which is displayed in the colors of the "Dissassembly" window
  58.     in EMILY and MONICA. Press:
  59.  
  60.         PgUp/PgDn   - To switch to the other windows
  61.         Up/Down     - To change the foreground color
  62.         Left/Right  - To change the background color
  63.         Escape      - To return to the main EMSETUP menu
  64.  
  65. Special function registers:
  66.  
  67.     This option allows you to Add/Modify/Delete special function registers
  68.     which appear in the EMILY/MONICA 'F' menu and disassembler output.
  69.  
  70.     The currently defined special function registers will be displayed, along
  71.     with each ones address. To change/delete/insert a register, press the
  72.     letter beside the one you wish to alter. If more than 1 column of
  73.     registers are defined, use the SPACE BAR to shift the selection menu
  74.     between each row of register definitions.
  75.  
  76.     Once you have selected a regiser, you will be presented with a menu
  77.     of options:
  78.  
  79.         Change address      - Modify the Direct Address of the SFR
  80.         Delete entry        - Delete the SFR definition
  81.         Insert before       - Insert a new definition before this one
  82.         Insert after        - Insert a new definition after this one
  83.  
  84.     NOTE: if you add SFR's to MONICA, or to EMILY when you are using the
  85.     '/Hardware' option, you must also add code to the kernal (KERNAL.ASM)
  86.     to allow them to be read and written. The kernal uses a "jump" table
  87.     of direct addresses (called 'CTAB1' and 'CTAB2') to invoke handlers
  88.     which read and write those addresses in response to commands from the
  89.     PC. Look at the code for other SFR's ('TL0' etc.) to see how to add
  90.     your own handlers.
  91.  
  92.     When you run EMILY or MONICA with additional SFR's defined, use the
  93.     SPACE BAR to move the selection menu between each row of SFR's.
  94.  
  95. Serial I/O defaults:
  96.  
  97.     This option presents you with a serial I/O setup screen which mimics
  98.     the ones in EMILY and MONICA. Select the values that you wish to be
  99.     in effect when EMILY and/or MONICA is loaded.
  100.  
  101. Target interface speed:
  102.  
  103.     This option sets the serial I/O speed (baudrate) that is used by MONICA
  104.     and EMILY (when '/h' is used) to interface to the target system kernal.
  105.     You should not change this value, unless you have modified KERNAL.ASM,
  106.     or are using a target crystal frequency which is not 11.059 Mhz. The
  107.     EMILY manual contains a detailed discussion on interface speeds available
  108.     at various crystal frequencies. Use the UP/DOWN arrows to change the
  109.     interface speed, ESCAPE to exit.
  110.  
  111. Serial port assignments:
  112.  
  113.     This option allows you to set the default function of the PC serial ports.
  114.     You may select between COM1 = Serial I/O redirection / COM2 = Target
  115.     interface, or COM2 = Serial I/O redirection / COM1 = Target interface.
  116.     Use SPACE to swap the COM port operation, and ESCAPE to exit.
  117.  
  118. RESET logic level:
  119.  
  120.     This option allows you to set the logic level of the RTS "reset" control
  121.     line from the PC. You may select RESET when RTS is "asserted" (+12v) or
  122.     "deasserted" (-12v). If you are using an older version of our "BD52"
  123.     single board computer, you may have to set this value to "asserted".
  124.  
  125. Default load filename
  126.  
  127.     This option allows you to select the default filename and extension that
  128.     will appear in the input area in response to a 'L'oad command. Enter the
  129.     name you wish, and press ENTER or ESCAPE to exit.
  130.  
  131. NOTE: EMSETUP should NOT be used on the DEMO version of EMILY.
  132.